package com.treeroot.treenet.strategy.init;

import com.treeroot.treenet.enums.ProtocolTypeMenu;
import com.treeroot.treenet.strategy.ProtocolStrategyHandle;

import java.util.Map;

/**
 * Create By TreeRoot
 * Create Time: 2023/12/18 03:46
 * Class Name: InitStrategyService
 * Description:
 * 策略初始化服务
 *
 * @author TreeRoot
 */
@FunctionalInterface
public interface InitStrategyService {

    /**
     * 获取协议策略句柄映射
     *
     * @return {@link Map}<{@link ProtocolTypeMenu}, {@link ProtocolStrategyHandle}>
     */
    Map<ProtocolTypeMenu, ProtocolStrategyHandle> getProtocolStrategyHandleMap();
}
